-- GENERATED SPELL FOR [Legion Shocktrooper] --


function spell0_20402(pUnit, Event) --@Vicious Rend,n/a--
pUnit:FullCastSpellOnTarget(35144,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20402', 15000, 1)
end

function Sorts_20402(pUnit, Event)
local choix_sorts_20402 = math.random(0, 0)
if choix_sorts_20402 == 0 then
pUnit:RegisterEvent('spell0_20402', 1, 1)
end
end

function mob20402_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20402', math.random(1500, 3000), 1)
end

function mob20402_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20402_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20402_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20402, 1, 'mob20402_Action')
RegisterUnitEvent(20402, 2, 'mob20402_Leave')
RegisterUnitEvent(20402, 3, 'mob20402_Kill')
RegisterUnitEvent(20402, 4, 'mob20402_Die')
